﻿using System;
namespace WinFormClient
{
    interface IDataHandler
    {
        void LocalSave();
        int TryAddMesseage(Message msg, out RESULTINFO result);
        int TryAddTopic(Topic topic, out RESULTINFO result);
        int TryGetGroups(out GroupSet groups, out RESULTINFO result);
        int TryGetMessages(out MessageSet msgs, out RESULTINFO result);
        int TryGetTopics(out TopicSet topics, out RESULTINFO result);
    }
}
